package priv.cwr.springboot.demo.model.vo.base;

import lombok.Data;

import javax.persistence.Transient;

/**
 * @author R
 * @date 2018-8-30
 * @description class 分页数据设置
 */
@Data
public class PageNumber {
    /**
     * 当前页
     */
    private Integer page;

    /**
     * 行数
     */
    private Integer rows;

    public PageNumber() {
    }

    public PageNumber(Integer page) {
        this.page = page;
    }

    public PageNumber(Integer page, Integer rows) {
        this.page = page;
        this.rows = rows;
    }
}
